@import tool.ReportPojo.ReportData
@import views.user.report.IndexTool._
@(resultPath: String, i: Int, j: Int)(implicit data: ReportData)
<p class="paragraph">
	Inter correlation analysis between differential metabolites and data from@(data.outerData.extraDatas(j)) is shown in file folder
	<a target="_blank" href="@(resultPath)Treatment/@(data.treats(i))/@(data.resultDatas(i).corDir)/Spearman/@getAndDir(i)/@(data.outerData.extraDatas(j))">@(data.treats(i))
	/@(data.resultDatas(i).corDir)/Spearman/@(data.treats(i))/@(data.outerData.extraDatas(j))</a>文件夹
</p>
<p class="paragraph">
	Inter correlation analysis heatmap is shown in Figure @(i + 1)-@getCorImageIndex(i, j)
</p>
<p class="paragraph">
	Inter correlation analysis r value is shown in
	<a href="@(resultPath)Treatment/@(data.treats(i))/@(data.resultDatas(i).corDir)/Spearman/@getAndDir(i)/@(data.outerData.extraDatas(j))/Inter_r_Matrix.csv">
		Inter_r_Matrix.csv
	</a>
	<a href="@(resultPath)Treatment/@(data.treats(i))/@(data.resultDatas(i).corDir)/Spearman/@getAndDir(i)/@(data.outerData.extraDatas(j))" target="_blank"><span class="fa fa-folder-open"></span></a>
</p>
<p class="paragraph">
	Inter correlation analysis P value is shown in
	<a href="@(resultPath)Treatment/@(data.treats(i))/@(data.resultDatas(i).corDir)/Spearman/@getAndDir(i)/@(data.outerData.extraDatas(j))/Inter_P_Matrix.csv">
		Inter_P_Matrix.csv
	</a>
	<a href="@(resultPath)Treatment/@(data.treats(i))/@(data.resultDatas(i).corDir)/Spearman/@getAndDir(i)/@(data.outerData.extraDatas(j))" target="_blank"><span class="fa fa-folder-open"></span></a>
</p>
<p class="paragraph">
	Inter correlation analysis FDR value is shown in
	<a href="@(resultPath)Treatment/@(data.treats(i))/@(data.resultDatas(i).corDir)/Spearman/@getAndDir(i)/@(data.outerData.extraDatas(j))/Inter_FDR_Matrix.csv">
		Inter_FDR_Matrix.csv
	</a>
	<a href="@(resultPath)Treatment/@(data.treats(i))/@(data.resultDatas(i).corDir)/Spearman/@getAndDir(i)/@(data.outerData.extraDatas(j))" target="_blank"><span class="fa fa-folder-open"></span></a>
</p>

<p class="paragraph">
	Based on inter correlation analysis result, correlation pairs with P < @(data.configDatas(i).corP) and |r| > @(data.configDatas(i).cor) is selected and saved for network plotting in Cytoscape.
</p>
<p class="paragraph">
	Edge information for network plotting is stored in
	<a href="@(resultPath)Treatment/@(data.treats(i))/@(data.resultDatas(i).corDir)/Spearman/@getAndDir(i)/@(data.outerData.extraDatas(j))/Network_Edges_for_Cytoscape.csv">
		Network_Edges_for_Cytoscape.csv
	</a>
	<a href="@(resultPath)Treatment/@(data.treats(i))/@(data.resultDatas(i).corDir)/Spearman/@getAndDir(i)/@(data.outerData.extraDatas(j))" target="_blank"><span class="fa fa-folder-open"></span></a>
</p>
<p class="paragraph">
	Node information for network plotting is stored in
	<a href="@(resultPath)Treatment/@(data.treats(i))/@(data.resultDatas(i).corDir)/Spearman/@getAndDir(i)/@(data.outerData.extraDatas(j))/Network_Nodes_for_Cytoscape.csv">
		Network_Nodes_for_Cytoscape.csv
	</a>
	<a href="@(resultPath)Treatment/@(data.treats(i))/@(data.resultDatas(i).corDir)/Spearman/@getAndDir(i)/@(data.outerData.extraDatas(j))" target="_blank"><span class="fa fa-folder-open"></span></a>
</p>
<p class="name_table">Figure @(i + 1)-@getCorImageIndex(i, j) Inter Correlation Analysis Heatmap</p>
<p class="center">
	<img class="wid2" src="@(resultPath)Treatment/@(data.treats(i))/@(data.resultDatas(i).corDir)/Spearman/@getAndDir(i)/@(data.outerData.extraDatas(j))/Inter_Correlation_Heatmap.png" />
</p>
<p class="paragraph">
	In addition, correlation analysis between differential metabolites and @(data.outerData.extraDatas(j)) for each single group is also carried out. This might be helpful to find unusal patterns.
</p>
@for(group <- data.configDatas(i).groups) {
	<p class="paragraph">
		Correlation result for @(group) only is shown in file folder
									<a target="_blank" href="@(resultPath)Treatment/@(data.treats(i))/@(data.resultDatas(i).corDir)/Spearman/@group/@(data.outerData.extraDatas(j))"> @(data.treats(i))
		/@(data.resultDatas(i).corDir)/Spearman/@group/@(data.outerData.extraDatas(j))</a>
</p>
}